package cn.iocoder.yudao.module.promotion.controller.admin.yearcardconfig.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 年卡配置分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class YearCardConfigPageReqVO extends PageParam {

    @Schema(description = "标题")
    private String title;

    @Schema(description = "头图")
    private String headerPicUrls;

    @Schema(description = "详情")
    private String content;

    @Schema(description = "原价", example = "23784")
    private BigDecimal originalPrice;

    @Schema(description = "是否有促销")
    private Boolean havePromotion;

    @Schema(description = "促销价", example = "3326")
    private BigDecimal promotionPrice;

    @Schema(description = "投放类型(1:总是显示;2:按日期)", example = "1")
    private Integer putType;

    @Schema(description = "投放日期开始")
    private LocalDateTime putTimeStart;

    @Schema(description = "投放日期结束")
    private LocalDateTime putTimeEnd;

    @Schema(description = "用户协议")
    private String userAgreement;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}